import { registerAs } from '@nestjs/config';

export default registerAs('huifu', () => ({
  apiUrl: process.env.HUIFU_API_URL,
  notifyUrl: process.env.HUIFU_NOTIFY_URL,
  returnUrl: process.env.HUIFU_RETURN_URL,
  merCustId: process.env.HUIFU_MER_CUST_ID,
  merAcctId: process.env.HUIFU_MER_ACCT_ID,
  pfxFilePath: process.env.HUIFU_PFX_FILE_PATH,
  pfxPassword: process.env.HUIFU_PFX_PASSWORD,
  cerFilePath: process.env.HUIFU_CER_FILE_PATH,
  openAccountFee: process.env.HUIFU_OPEN_ACCOUNT_FEE,
}));
